package contest.oop.sse.person;

import contest.oop.sse.message.Message;
import contest.oop.sse.message.MessageType;

import java.util.ArrayList;

/**
 * 国民党特务类
 *
 * @author jwmao
 */
public class KmtAgent extends Agent {
    public KmtAgent(String name) {
        this.name = name;
        this.connectors = new ArrayList<>();
    }

    @Override
    public void receive(Message message) {
        System.out.println("国民党特务收到消息：" + message.getBody());
    }

    @Override
    public void createMessage(MessageType messageType) {

    }

    @Override
    public void createMessage(MessageType messageType, String msgBody) {

    }
}
